package com.servicesystem.servicesystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.servicesystem.servicesystem.entity.douyin.Order;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author X
 * @since 2020-09-11
 */
public interface OrderMapper extends BaseMapper<Order> {

    /***
     * 订单处理 获取订单列表
     * @param orderPage
     * @return
     */
    IPage<Order> getOrderList(Page<Order> orderPage, @Param("order") Order order);
}
